package com.epi.web.log.Impl;

import com.epi.web.log.MDCDemo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author dxy
 * @version 1.0
 */
public class LogbackLogger {

    private static final Logger log = LoggerFactory.getLogger(LogbackLogger.class);

    public static void main(String[] args) {
        MDCDemo.mdcTest();
        log.error("ERROR: 错误");
        log.warn("WARN: 警告");
        log.info("INFO: 信息");
        log.debug("DEBUG: 调试");
        log.trace("TRACE: 跟踪");
    }
}
